package service.impl;

import dao.IAdminDao;
import dao.impl.AdminDaoImpl;
import pojo.Admin;
import service.IAdminService;

public class AdminServiceImpl implements IAdminService {
    public Admin login(Admin admin) throws Exception {
        IAdminDao adminDao=new AdminDaoImpl();
        return adminDao.checkUser(admin);
    }
}
